package app.vendorportal.web.interceptor;

import app.vendorportal.web.SiteContext;
import core.framework.web.site.layout.ModelBuilder;

import javax.inject.Inject;

import java.util.Map;

public class MasterTemplateModelBuilder implements ModelBuilder {

    @Inject
    private SiteContext siteContext;

    @Override
    public void build(Map<String, Object> model) {
        model.putAll(siteContext.getModel());
    }

}
